075346527f57e8401fe2b2716c5baf64aa926e34,graphics/src/main/java/uk/ac/rdg/resc/edal/graphics/style/sld/AbstractSLDCategorize2DFunction.java,AbstractSLDCategorize2DFunction,parseThresholds,#,45

Before Change


		xThresholds = new ArrayList<Float>();
		for (int j = 0; j < xThresholdNodes.getLength(); j++) {
			Node thresholdNode = xThresholdNodes.item(j);
			xThresholds.add(Float.parseFloat(thresholdNode.getTextContent()));
		}
		
		//get list of y thresholds

After Change


		xThresholds = new ArrayList<Float>();
		for (int j = 0; j < xThresholdNodes.getLength(); j++) {
			Node thresholdNode = xThresholdNodes.item(j);
			xThresholds.add(Float.parseFloat(thresholdNode.getTextContent().trim()));
		}
		
		//get list of y thresholds